package com.main.modulemysql.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.main.modulemysql.entity.Equipment;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author IceZhang
 * @since 2018-08-07
 */
public interface EquipmentMapper extends BaseMapper<Equipment> {

    Integer getEquipmentCountByFacilityCode(@Param("facilityCode")String facilityCode);

    Integer getFaultEquipmentCountByFacilityCode(@Param("facilityCode")String facilityCode);



}
